Skip to content

chore: improve testing of suffix indexing#1080

Merged
benmss merged 2 commits into
mainfrom
703-improve-commit-finder-tests
May 21, 2025
Merged

chore: improve testing of suffix indexing#1080
benmss merged 2 commits into
mainfrom
703-improve-commit-finder-tests

Conversation

@benmss

@benmss benmss commented May 19, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR improves the reliability of the optional suffix indexing aspect of the commit finder.

Description of changes

The commit finder is a complex system with many parts. It is important that we ensure each part is behaving as expected, as well as the whole system producing expected results. This PR focuses on one aspect: optional suffix indexing, which helps detect parts of a version suffix that do not necessarily need to match in the tags. To improve reliability of this aspect, this functionality is moved into a new function and tested appropriately.

Related issues

Updates #703

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 19, 2025
@benmss benmss self-assigned this May 19, 2025
@benmss benmss linked an issue May 19, 2025 that may be closed by this pull request
@benmss benmss force-pushed the 703-improve-commit-finder-tests branch from ee4b3b8 to dcdabb3 Compare May 19, 2025 05:41
@benmss benmss marked this pull request as ready for review May 19, 2025 23:59
@benmss benmss requested review from behnazh-w and tromai as code owners May 19, 2025 23:59
Comment thread src/macaron/repo_finder/commit_finder.py
@benmss benmss force-pushed the 703-improve-commit-finder-tests branch from 5da9490 to 6b7dea8 Compare May 21, 2025 11:22
benmss added 2 commits May 21, 2025 22:35
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
@benmss benmss force-pushed the 703-improve-commit-finder-tests branch from 6b7dea8 to 4ee5b81 Compare May 21, 2025 12:37
@benmss benmss merged commit 44f7e96 into main May 21, 2025
@benmss benmss deleted the 703-improve-commit-finder-tests branch May 21, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve testing of Commit Finder algorithm

2 participants